package cn.yh.hospitalappointmentsystemdemo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("分页相应信息")
public class TableDataInfo<T> {
    @ApiModelProperty("状态码")
    private Integer code;
    @ApiModelProperty("提示信息")
    private String msg;
    @ApiModelProperty("分页数据")
    private T rows;
    @ApiModelProperty("总记录数")
    private Long total;
}
